// samsting : this file is auto create.

#include "Ecs/2014-05-26/DescribeInstancesRequest.h"

namespace aliyun { namespace Ecs {

DescribeInstancesRequest::DescribeInstancesRequest() : RpcAcsRequest("Ecs", "2014-05-26", "DescribeInstances") {
}

int64 DescribeInstancesRequest::GetOwnerId(void) const {
  return OwnerId_;
}
void DescribeInstancesRequest::SetOwnerId(int64 OwnerId) {
  OwnerId_ = OwnerId;
  PutQueryParameter("OwnerId", string_ValueOfInt64(OwnerId_));
}

const string& DescribeInstancesRequest::GetResourceOwnerAccount(void) const {
  return ResourceOwnerAccount_;
}
void DescribeInstancesRequest::SetResourceOwnerAccount(const string& ResourceOwnerAccount) {
  ResourceOwnerAccount_ = ResourceOwnerAccount;
  PutQueryParameter("ResourceOwnerAccount", ResourceOwnerAccount_);
}

int64 DescribeInstancesRequest::GetResourceOwnerId(void) const {
  return ResourceOwnerId_;
}
void DescribeInstancesRequest::SetResourceOwnerId(int64 ResourceOwnerId) {
  ResourceOwnerId_ = ResourceOwnerId;
  PutQueryParameter("ResourceOwnerId", string_ValueOfInt64(ResourceOwnerId_));
}

const string& DescribeInstancesRequest::GetVpcId(void) const {
  return VpcId_;
}
void DescribeInstancesRequest::SetVpcId(const string& VpcId) {
  VpcId_ = VpcId;
  PutQueryParameter("VpcId", VpcId_);
}

const string& DescribeInstancesRequest::GetVSwitchId(void) const {
  return VSwitchId_;
}
void DescribeInstancesRequest::SetVSwitchId(const string& VSwitchId) {
  VSwitchId_ = VSwitchId;
  PutQueryParameter("VSwitchId", VSwitchId_);
}

const string& DescribeInstancesRequest::GetZoneId(void) const {
  return ZoneId_;
}
void DescribeInstancesRequest::SetZoneId(const string& ZoneId) {
  ZoneId_ = ZoneId;
  PutQueryParameter("ZoneId", ZoneId_);
}

const string& DescribeInstancesRequest::GetInstanceNetworkType(void) const {
  return InstanceNetworkType_;
}
void DescribeInstancesRequest::SetInstanceNetworkType(const string& InstanceNetworkType) {
  InstanceNetworkType_ = InstanceNetworkType;
  PutQueryParameter("InstanceNetworkType", InstanceNetworkType_);
}

const string& DescribeInstancesRequest::GetSecurityGroupId(void) const {
  return SecurityGroupId_;
}
void DescribeInstancesRequest::SetSecurityGroupId(const string& SecurityGroupId) {
  SecurityGroupId_ = SecurityGroupId;
  PutQueryParameter("SecurityGroupId", SecurityGroupId_);
}

const string& DescribeInstancesRequest::GetInstanceIds(void) const {
  return InstanceIds_;
}
void DescribeInstancesRequest::SetInstanceIds(const string& InstanceIds) {
  InstanceIds_ = InstanceIds;
  PutQueryParameter("InstanceIds", InstanceIds_);
}

int DescribeInstancesRequest::GetPageNumber(void) const {
  return PageNumber_;
}
bool DescribeInstancesRequest::SetPageNumber(int PageNumber) {
  if(PageNumber < 1) {
    return false;
  }
  PageNumber_ = PageNumber;
  PutQueryParameter("PageNumber", string_ValueOfInt(PageNumber_));
  return true;
}

int DescribeInstancesRequest::GetPageSize(void) const {
  return PageSize_;
}
bool DescribeInstancesRequest::SetPageSize(int PageSize) {
  if(PageSize < 1) {
    return false;
  }
  if(PageSize > 100) {
    return false;
  }
  PageSize_ = PageSize;
  PutQueryParameter("PageSize", string_ValueOfInt(PageSize_));
  return true;
}

const string& DescribeInstancesRequest::GetInnerIpAddresses(void) const {
  return InnerIpAddresses_;
}
void DescribeInstancesRequest::SetInnerIpAddresses(const string& InnerIpAddresses) {
  InnerIpAddresses_ = InnerIpAddresses;
  PutQueryParameter("InnerIpAddresses", InnerIpAddresses_);
}

const string& DescribeInstancesRequest::GetPrivateIpAddresses(void) const {
  return PrivateIpAddresses_;
}
void DescribeInstancesRequest::SetPrivateIpAddresses(const string& PrivateIpAddresses) {
  PrivateIpAddresses_ = PrivateIpAddresses;
  PutQueryParameter("PrivateIpAddresses", PrivateIpAddresses_);
}

const string& DescribeInstancesRequest::GetPublicIpAddresses(void) const {
  return PublicIpAddresses_;
}
void DescribeInstancesRequest::SetPublicIpAddresses(const string& PublicIpAddresses) {
  PublicIpAddresses_ = PublicIpAddresses;
  PutQueryParameter("PublicIpAddresses", PublicIpAddresses_);
}

const string& DescribeInstancesRequest::GetOwnerAccount(void) const {
  return OwnerAccount_;
}
void DescribeInstancesRequest::SetOwnerAccount(const string& OwnerAccount) {
  OwnerAccount_ = OwnerAccount;
  PutQueryParameter("OwnerAccount", OwnerAccount_);
}

const string& DescribeInstancesRequest::GetInstanceChargeType(void) const {
  return InstanceChargeType_;
}
void DescribeInstancesRequest::SetInstanceChargeType(const string& InstanceChargeType) {
  InstanceChargeType_ = InstanceChargeType;
  PutQueryParameter("InstanceChargeType", InstanceChargeType_);
}

const string& DescribeInstancesRequest::GetInternetChargeType(void) const {
  return InternetChargeType_;
}
void DescribeInstancesRequest::SetInternetChargeType(const string& InternetChargeType) {
  InternetChargeType_ = InternetChargeType;
  PutQueryParameter("InternetChargeType", InternetChargeType_);
}

const string& DescribeInstancesRequest::GetInstanceName(void) const {
  return InstanceName_;
}
void DescribeInstancesRequest::SetInstanceName(const string& InstanceName) {
  InstanceName_ = InstanceName;
  PutQueryParameter("InstanceName", InstanceName_);
}

const string& DescribeInstancesRequest::GetImageId(void) const {
  return ImageId_;
}
void DescribeInstancesRequest::SetImageId(const string& ImageId) {
  ImageId_ = ImageId;
  PutQueryParameter("ImageId", ImageId_);
}

const string& DescribeInstancesRequest::GetStatus(void) const {
  return Status_;
}
void DescribeInstancesRequest::SetStatus(const string& Status) {
  Status_ = Status;
  PutQueryParameter("Status", Status_);
}

const string& DescribeInstancesRequest::GetLockReason(void) const {
  return LockReason_;
}
void DescribeInstancesRequest::SetLockReason(const string& LockReason) {
  LockReason_ = LockReason;
  PutQueryParameter("LockReason", LockReason_);
}

const string& DescribeInstancesRequest::GetFilter_1_Key(void) const {
  return Filter_1_Key_;
}
void DescribeInstancesRequest::SetFilter_1_Key(const string& Filter_1_Key) {
  Filter_1_Key_ = Filter_1_Key;
  PutQueryParameter("Filter.1.Key", Filter_1_Key_);
}

const string& DescribeInstancesRequest::GetFilter_2_Key(void) const {
  return Filter_2_Key_;
}
void DescribeInstancesRequest::SetFilter_2_Key(const string& Filter_2_Key) {
  Filter_2_Key_ = Filter_2_Key;
  PutQueryParameter("Filter.2.Key", Filter_2_Key_);
}

const string& DescribeInstancesRequest::GetFilter_3_Key(void) const {
  return Filter_3_Key_;
}
void DescribeInstancesRequest::SetFilter_3_Key(const string& Filter_3_Key) {
  Filter_3_Key_ = Filter_3_Key;
  PutQueryParameter("Filter.3.Key", Filter_3_Key_);
}

const string& DescribeInstancesRequest::GetFilter_4_Key(void) const {
  return Filter_4_Key_;
}
void DescribeInstancesRequest::SetFilter_4_Key(const string& Filter_4_Key) {
  Filter_4_Key_ = Filter_4_Key;
  PutQueryParameter("Filter.4.Key", Filter_4_Key_);
}

const string& DescribeInstancesRequest::GetFilter_1_Value(void) const {
  return Filter_1_Value_;
}
void DescribeInstancesRequest::SetFilter_1_Value(const string& Filter_1_Value) {
  Filter_1_Value_ = Filter_1_Value;
  PutQueryParameter("Filter.1.Value", Filter_1_Value_);
}

const string& DescribeInstancesRequest::GetFilter_2_Value(void) const {
  return Filter_2_Value_;
}
void DescribeInstancesRequest::SetFilter_2_Value(const string& Filter_2_Value) {
  Filter_2_Value_ = Filter_2_Value;
  PutQueryParameter("Filter.2.Value", Filter_2_Value_);
}

const string& DescribeInstancesRequest::GetFilter_3_Value(void) const {
  return Filter_3_Value_;
}
void DescribeInstancesRequest::SetFilter_3_Value(const string& Filter_3_Value) {
  Filter_3_Value_ = Filter_3_Value;
  PutQueryParameter("Filter.3.Value", Filter_3_Value_);
}

const string& DescribeInstancesRequest::GetFilter_4_Value(void) const {
  return Filter_4_Value_;
}
void DescribeInstancesRequest::SetFilter_4_Value(const string& Filter_4_Value) {
  Filter_4_Value_ = Filter_4_Value;
  PutQueryParameter("Filter.4.Value", Filter_4_Value_);
}

bool DescribeInstancesRequest::GetDeviceAvailable(void) const {
  return DeviceAvailable_;
}
void DescribeInstancesRequest::SetDeviceAvailable(bool DeviceAvailable) {
  DeviceAvailable_ = DeviceAvailable;
  PutQueryParameter("DeviceAvailable", string_ValueOfBool(DeviceAvailable_));
}

bool DescribeInstancesRequest::GetIoOptimized(void) const {
  return IoOptimized_;
}
void DescribeInstancesRequest::SetIoOptimized(bool IoOptimized) {
  IoOptimized_ = IoOptimized;
  PutQueryParameter("IoOptimized", string_ValueOfBool(IoOptimized_));
}

const string& DescribeInstancesRequest::GetTag_1_Key(void) const {
  return Tag_1_Key_;
}
void DescribeInstancesRequest::SetTag_1_Key(const string& Tag_1_Key) {
  Tag_1_Key_ = Tag_1_Key;
  PutQueryParameter("Tag.1.Key", Tag_1_Key_);
}

const string& DescribeInstancesRequest::GetTag_2_Key(void) const {
  return Tag_2_Key_;
}
void DescribeInstancesRequest::SetTag_2_Key(const string& Tag_2_Key) {
  Tag_2_Key_ = Tag_2_Key;
  PutQueryParameter("Tag.2.Key", Tag_2_Key_);
}

const string& DescribeInstancesRequest::GetTag_3_Key(void) const {
  return Tag_3_Key_;
}
void DescribeInstancesRequest::SetTag_3_Key(const string& Tag_3_Key) {
  Tag_3_Key_ = Tag_3_Key;
  PutQueryParameter("Tag.3.Key", Tag_3_Key_);
}

const string& DescribeInstancesRequest::GetTag_4_Key(void) const {
  return Tag_4_Key_;
}
void DescribeInstancesRequest::SetTag_4_Key(const string& Tag_4_Key) {
  Tag_4_Key_ = Tag_4_Key;
  PutQueryParameter("Tag.4.Key", Tag_4_Key_);
}

const string& DescribeInstancesRequest::GetTag_5_Key(void) const {
  return Tag_5_Key_;
}
void DescribeInstancesRequest::SetTag_5_Key(const string& Tag_5_Key) {
  Tag_5_Key_ = Tag_5_Key;
  PutQueryParameter("Tag.5.Key", Tag_5_Key_);
}

const string& DescribeInstancesRequest::GetTag_1_Value(void) const {
  return Tag_1_Value_;
}
void DescribeInstancesRequest::SetTag_1_Value(const string& Tag_1_Value) {
  Tag_1_Value_ = Tag_1_Value;
  PutQueryParameter("Tag.1.Value", Tag_1_Value_);
}

const string& DescribeInstancesRequest::GetTag_2_Value(void) const {
  return Tag_2_Value_;
}
void DescribeInstancesRequest::SetTag_2_Value(const string& Tag_2_Value) {
  Tag_2_Value_ = Tag_2_Value;
  PutQueryParameter("Tag.2.Value", Tag_2_Value_);
}

const string& DescribeInstancesRequest::GetTag_3_Value(void) const {
  return Tag_3_Value_;
}
void DescribeInstancesRequest::SetTag_3_Value(const string& Tag_3_Value) {
  Tag_3_Value_ = Tag_3_Value;
  PutQueryParameter("Tag.3.Value", Tag_3_Value_);
}

const string& DescribeInstancesRequest::GetTag_4_Value(void) const {
  return Tag_4_Value_;
}
void DescribeInstancesRequest::SetTag_4_Value(const string& Tag_4_Value) {
  Tag_4_Value_ = Tag_4_Value;
  PutQueryParameter("Tag.4.Value", Tag_4_Value_);
}

const string& DescribeInstancesRequest::GetTag_5_Value(void) const {
  return Tag_5_Value_;
}
void DescribeInstancesRequest::SetTag_5_Value(const string& Tag_5_Value) {
  Tag_5_Value_ = Tag_5_Value;
  PutQueryParameter("Tag.5.Value", Tag_5_Value_);
}


} } // namespace aliyun { namespace Ecs {

// end of file 
